Predictive motion vector coding

ABSTRACT

Overlapped block disparity estimation and compensation is described. Compensating for images with overlapped block disparity compensation (OBDC) involves determining if OBDC is enabled in a video bit stream, and determining if OBDC is enabled for one or more macroblocks that neighbor a first macroblock within the video bit stream. The neighboring macroblocks may be transform coded. If OBDC is enabled in the video bit stream and for the one or more neighboring macroblocks, predictions may be made for a region of the first macroblock that has an edge adjacent with the neighboring macroblocks. OBDC can be causally applied. Disparity compensation parameters or modes may be shared amongst views or layers. A variety of predictions may be used with causally-applied OBDC.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. application Ser. No. 14/723,693, filed May 28, 2015, which is a continuation of U.S. application Ser. No. 14/242,975, filed Apr. 2, 2014, which is a continuation of U.S. application Ser. No. 13/057,204 filed Feb. 2, 2011, which is a National Stage Entry of PCT/US2009/052650 filed on Aug. 4, 2009 which claims the benefit of priority of U.S. Patent Provisional Application No. 61/086,056, filed Aug. 4, 2008, all of which hereby incorporated by reference in their entirety.

TECHNOLOGY

The present disclosure relates generally to video technology. More particularly, embodiments of the present invention relate to overlapped block disparity estimation and compensation.

BACKGROUND

As used herein, the term “image feature” may refer to one or more picture elements (e.g., one or more pixels) within a field. As used herein, the term “source field” may refer to a field from which information relating to an image feature may be determined or derived. As used herein, the term “intermediate field” may refer to a field, which may temporally follow or lead a source field in a video sequence, in which information relating to an image feature may be described with reference to the source field. As used herein, the term “disparity estimation” may refer to techniques for computing motion vectors or other parametric values with which motion, e.g., between two or more fields of a video sequence, may efficiently be predicted, modeled or described. An example of disparity estimation can be motion estimation. As used herein, the term “disparity estimate” may refer to a motion vector or another estimated parametric motion related value. As used herein, the term “disparity compensation” may refer to techniques with which a motion estimate or another parameter may be used to compute a spatial shift in the location of an image feature in a source field to describe the motion or some parameter of the image feature in one or more intermediate fields of a video sequence. Disparity compensation may involve a process of using a disparity estimate to derive the prediction of the current samples and/or regions of interest. A disparity model may include various spatial and/or temporal shift parameters. An example of disparity compensation can be motion compensation. The above terms may also be used in conjunction with various video coding concepts and prediction techniques (e.g., intra prediction and illumination compensation).

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 depicts a diagram of an example of block motion compensation without OBDC.

FIG. 2 depicts a diagram of an example video encoder.

FIG. 3 depicts a diagram of an example video decoder.

FIG. 4A is a diagram of an example diamond-shaped OBDC or overlapped partition motion compensation pattern.

FIG. 4B is a diagram of an example orthogonal-shaped OBDC or overlapped partition motion compensation pattern.

FIG. 4C is a diagram of an example circular-shaped OBDC or overlapped partition motion compensation pattern.

FIG. 5 depicts example predicted block regions in which different regions are predicted using multi-hypothesis based motion compensation.

FIG. 6 depicts a diagram of an example OBDC embodiment.

FIGS. 7A-7C depict diagrams of patterns for examples of overlapped partition motion compensation.

FIGS. 8A-8B depict diagrams of patterns for examples of overlapped partition motion compensation.

FIG. 9 depicts a diagram of an example OBDC embodiment.

FIG. 10A depicts a diagram of intra prediction with overlapping considerations using horizontal prediction.

FIG. 10B depicts a diagram of an example of intra prediction with overlapping considerations using vertical prediction.

FIG. 10C depicts a diagram of an example of intra prediction with overlapping considerations using diagonal prediction.

FIG. 11 depicts a diagram of an example of adaptively utilizing OBDC within a picture.

FIGS. 12A-D depict example OBDC embodiments with variable block sizes.

FIG. 13 depicts an example OBDC embodiment with a spiral macroblock coding order.

FIG. 14 depicts an example OBDC embodiment with a random macroblock coding order.

FIGS. 15A-B depict diagrams with examples where the shape of the OBDC prediction is dependent upon regions that have been previously encoded.

FIG. 16 depicts a flow chart of an example process for prediction using causal overlapping.

FIG. 17 depicts a system diagram of examples of display and/or image processing devices for the disclosed OBDC techniques.

Like reference numbers and designations in the various drawings can indicate like elements.

DESCRIPTION OF EXAMPLE EMBODIMENTS

Example embodiments relating to overlapped block disparity estimation and compensation are described herein. In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, that embodiments of the present invention may be practiced without these specific details. In other instances, well-known structures and devices are depicted in block diagram form in order to avoid unnecessarily obscuring the present invention.

Overview

In some aspects, some embodiments include features for a method for motion compensation of images with overlapped block disparity compensation (OBDC). The method includes determining if OBDC is enabled in a video bit stream, and determining if OBDC is enabled for one or more macroblocks that neighbor a first macroblock within the video bit stream. The one or more neighboring macroblocks are transform coded. If OBDC is enabled in the video bit stream and for the one or more neighboring macroblocks, the method involves performing prediction for a region of the first macroblock that has an edge adjacent with the one or more neighboring macroblocks.

These and other embodiments can optionally include one or more of the following features. The step of determining if OBDC is enabled for the video bit stream or the one or more macroblocks can include any combination of the steps of: detecting a signaling instruction within the bit stream or the one or more macroblocks to enable OBDC; determining a semantic or relationship in the bit stream or the one or more macroblocks to enable OBDC; determining neighboring block information or differences in motion vectors to enable OBDC; or detecting an association of the one or more macroblocks with a reference index that points to a reference picture that is associated with OBDC coding. The method may involve applying a coding order. The step of applying the coding order can include utilizing a raster scan coding order, a horizontal coding order, a vertical coding order, an arbitrary coding order, or a zig-zag coding order. The method can also involve the step of applying another type of prediction to the OBDC prediction.

These and other embodiments can also optionally include one or more of the following features. Other types of prediction can include inter prediction, intra prediction, cross-layer prediction, cross-view prediction, prediction using multi-hypothesis, and/or prediction with dependencies for the one or more neighboring macroblocks. Other types of prediction can include prediction with a type of overlapping, prediction with a type of propagation, prediction that is independent of information of future macroblocks, or prediction with multiple macroblock sizes or macroblock boundaries. The overlapping can involve internal overlapping of the region of the first macroblock or external overlapping of the region of the first macroblock. The internal overlapping of the region can involve overlapping the region using information from one or more pixels of the first macroblock, and the external overlapping of the region can involve overlapping the region using information from pixels of one or more regions of the one or more neighboring macroblocks. Some of the predictions may include prediction with propagation in a pre-determined direction. The macroblocks can form a square pattern, a diamond pattern, or a circular pattern, and the prediction can extend in one or two directions for the pattern. The macroblocks can also form an orthogonal pattern, and polygons with N number of edges, and the prediction can extend in at least three dimensions (e.g., three-dimensional prediction). The prediction can include mesh-based prediction, wherein the mesh-based prediction can be represented by triangular shapes. The method can include generating residual information from the prediction, in which the residual information can include information for the first macroblock and the one or more neighboring macroblocks, and the residual information can include motion/disparity information. The method may optionally involve transform coding the residual information, quantizing the transform coded residual information, and entropy encoding the quantized information.

These and other embodiments can also optionally include one or more of the following features. The method can involve decoding the residual, in which the step of decoding can be independent of information from future macroblocks in an image of the video bit stream. Any of the predictions can include one or more operations from filtering, interpolation, scaling, or affine projection. The method can involve sharing and/or copying one or more disparity compensation parameters or modes amongst one or more views or layers. The method can include using information for the prediction of the region of the first macroblock to perform prediction for one or more regions of another neighboring macroblock, in which the other neighboring macroblock is non-transform coded. The step of performing the prediction can include applying OBDC to a subset of directions that are available for prediction for the first macroblock. Transformed residuals may be present for the one or more neighboring macroblocks for which a presence of a transformed residual is signaled in the video bit stream.

In some aspects, some embodiments include features for a method for motion compensation of images with overlapped block disparity compensation that includes the steps of determining if OBDC is enabled in a video bit stream, and determining if OBDC is enabled for a first macroblock within the video bit stream. The first macroblock is transform coded, and the first macroblock is adjacent to one or more neighboring macroblocks. If OBDC is enabled in the video bit stream and for the first macroblock, the method includes performing prediction for a region of the one or more neighboring macroblocks using information from the first macroblock, in which the region includes a non-transform coded region.

These and other embodiments can also optionally include one or more of the following features. The information associated with this method can include motion vector information, texture information, and/or information associated with a pixel. The step of determining if OBDC is enabled for the video bit stream or the first macroblock includes one or more of the following steps: detecting a signaling instruction within the bit stream or the first macroblock to enable OBDC; determining a semantic or relationship in the bit stream or the first macroblock to enable OBDC; determining neighboring block information or differences in motion vectors to enable OBDC; or detecting an association of the first macroblock with a reference index that points to a reference picture that is associated with OBDC coding.

In some aspects, some embodiments include features for a method for disparity compensation of images with overlapped block disparity compensation, the method includes the steps of determining if OBDC is enabled in a bit stream of video information, determining a first region of a first macroblock within the bit stream, and determining whether one or more residual regions in one or two macroblocks that are transform coded and adjacent to the first macroblock are enabled for overlapping prediction. If the bit stream is enabled for OBDC and the one or more residual regions are enabled for overlapping prediction, the method involves predicting pixels in the first region of the first macroblock using motion vectors from only the one or more residual regions in the one or two adjacent macroblocks, and weighting the pixels in the first region as a function of a distance of the pixels from an area of the one or two adjacent macroblocks.

These and other embodiments can also optionally include one or more of the following features. The prediction for the pixels can be a causal prediction. The weighting can include a weighted average that is based on the distance. The OBDC can involve a computation of a residual of the first macroblock that is independent of information from future macroblocks. The “future” macroblocks may refer to macroblocks to be coded or processed at a future time (e.g., future-coded macroblocks). Alternatively, the overlapped motion compensation can be computed independently of information from a future or adjacent macroblock. The first region can be neighboring a first boundary of the first macroblock. The prediction can involve intra prediction. The intra coding or intra prediction can include one or more of vertical prediction, horizontal prediction, diagonal prediction, and/or inter prediction, which may include single, bi-predictive inter prediction or multi-hypothesis inter prediction, or a combination of intra and inter prediction. The method can involve signaling the one or more adjacent macroblocks with one or more of flags or semantics. The method may also involve predicting pixels in one or more other regions, and combining the prediction of the first region with the prediction for the one or more regions. The prediction can include a coding mode for the macroblocks, in which the coding mode includes an arbitrary coding mode, a spiral coding mode, a random coding mode, a horizontal coding mode, a vertical coding mode, or a diagonal coding mode. One or more other types of predictions can be combined for the first region. The macroblock can have a block partitioning that is different from a block partitioning of one of the adjacent macroblocks.

These and other embodiments can also optionally include one or more of the following features. The method can include predicting information for other regions within a picture, in which the other regions include overlapping macroblock regions and non-overlapping macroblocks regions. One or more of the macroblocks can include transformed residuals for which a presence of at least one of the transformed residuals is signaled in the video bit stream. The prediction can be combined with another type of prediction from one of the adjacent macroblocks, in which the other type of prediction can involve prediction using multi-hypotheses, or prediction with multiple block sizes or macroblock partition types. The method can also involve applying weighting to the other type of prediction.

In some aspects, some embodiments include features for a computer program product, encoded on a computer-readable medium, which includes instructions to cause data processing apparatus to perform operations for overlapped block disparity estimation and compensation for images. The operations include, for a number of macroblocks, performing OBDC prediction for at least a first subset of macroblocks by overlapping less than all block boundaries for the macroblocks in at least the first subset such that the OBDC prediction for at least the first subset is causal.

These and other embodiments can optionally include one or more of the following features. The operations can include performing OBDC prediction for a second subset of macroblocks that involves overlapping by overlapping all block boundaries for the macroblocks in the second subset, and combining the OBDC prediction for at least the first subset with the OBDC prediction for the second subset. The operations can involve performing a type of motion prediction for a second subset of macroblocks that differs from the OBDC prediction of the macroblocks in at least the first subset of macroblocks, and combining the OBDC prediction for at least the first subset with the type of prediction for the second subset. The operations for the combining can involve applying a weighting parameter to the OBDC prediction for at least the first subset or the type of prediction for the second subset. Other operations can include applying weighting to at least the first subset of macroblocks using the OBDC prediction; and applying a prediction mode to the OBDC prediction. The prediction mode can include an internal prediction, an external prediction, or a combination of internal and external OBDC prediction. The OBDC prediction can include a coding mode for at least the first subset of macroblocks, in which the coding mode can include an arbitrary coding mode, a spiral coding mode a horizontal coding mode, a vertical coding mode, or a diagonal coding mode. Instructions can also be associated with OBDC prediction that involves computing a residual of the first macroblock that is independent of information from future macroblocks.

In some aspects, some embodiments include features for a system to perform motion estimation of images. The system includes a display device to display image data, a computer readable medium to store the image data and instructions for image data processing, and a data processing device to process the instructions and image data, in which the instructions causes the device to perform overlapped block disparity estimation for images. The operations involve, for a number of macroblocks, performing OBDC prediction for at least a first subset of macroblocks by overlapping less than all block boundaries for the macroblocks in at least the first subset such that the OBDC prediction for at least the first subset is causal.

These and other embodiments can optionally include one or more of the following features. The instructions can include performing a type of motion prediction for a second subset of macroblocks that differs from the OBDC prediction of the macroblocks of at least the first subset of macroblocks, and combining the OBDC prediction for at least the first subset with the type of prediction for the second subset. The instructions for the combining can involve taking a weighted average of the OBDC prediction for at least the first subset and the type of prediction for the second subset of macroblocks. The macroblocks can include macroblocks having various shapes or block size partitions. The OBDC prediction can be signaled explicitly or via semantics to indicate whether OBDC prediction is to be used for a macroblock in at least the first subset of macroblocks. One or more of the macroblocks can include transformed residuals for which a presence of at least one of the transformed residuals is signaled in the video bit stream.

In some aspects, some embodiments include features for a system for disparity estimation and disparity compensation for video. The system includes a video encoder that has one or more video encoder components for encoding that causally executes overlapped block disparity estimation and compensation to a subset of macroblocks in an image of a video bit stream. The one or more video encoder components include a disparity estimation component to determine one or more prediction modes or prediction parameters, and a disparity compensation component to utilize disparity estimation component information to generate prediction information utilizing causally-executed OBDC for the subset of macroblocks. The system also includes a video decoder having one or more components for decoding, in which the one or more video decoder components can execute entropy decoding, execute disparity compensation, and/or generate residual information utilizing the causally-executed OBDC.

These and other embodiments can optionally include one or more of the following features. The one or more video decoder components can be arranged to execute the entropy decoding, execute the disparity compensation, and/or generate the residual information in series or in parallel.

Any of the methods or techniques described herein can also be implemented in a system, an apparatus or device, a machine, a computer program product, in software, in hardware, or in any combination thereof. For example, the computer program product can be tangibly encoded on a computer-readable medium, and can include instructions to cause a data processing apparatus (e.g., a data processor) to perform one or more operations for any of the methods described herein.

Overlapped Block Disparity Compensation (OBDC) Techniques

The disclosed techniques can use overlapped block disparity compensation (OBDC) and a variation of OBDC, primarily overlapped block motion compensation (OBMC), for prediction. OBDC can be used with one or more blocks (e.g., macroblocks) or regions. OBDC in a block (or region) can re-use the various prediction information, e.g., motion vectors, reference indices, illumination change parameters, intra prediction methods among others, from other blocks (or the block's overlaps) such that the overlapping blocks (or regions) can be predicted using multiple hypotheses associated with each overlapping block (or region). The disclosed OBDC techniques can be causally applied, and can be employed with arbitrary and flexible coding orders, such as vertical, horizontal, and/or spiral coding order. The disclosed OBDC techniques can be signaled (e.g., invoked) explicitly or by semantics to indicate whether OBDC is to be used for a block or region. OBDC can also be signaled based on the information of neighboring blocks and their relationship with the current block and its signaled disparity parameters, and/or based on information for a range of minimum or maximum disparity or motion vectors. The information for minimum and maximum vectors, or the differences between motion vectors, can be based on a pattern or can be adaptively changed. For example, if differences between motion vectors between blocks are small, then OBDC can be automatically inferred for those blocks. In some embodiments, there can be a dynamic OBDC weight generation, in which weights are applied to each OBDC hypothesis for the generation of the final prediction, based on disparity vector (e.g., motion and/or illumination compensation parameters) relationships.

In some embodiments, if OBDC is allowed or signaled in a video bit stream, then prediction for a block in the bit stream can be performed that utilizes OBDC for one or more regions of the block's edges that neighbor previously-encoded blocks, if OBDC is also allowed or signaled for those neighboring blocks. Further, if OBDC is allowed for the current block in the bit stream, information (e.g., motion vector and or illumination compensation information) from the block can be used to provide an initial prediction of uncoded regions.

Also, there can be weighting (e.g., illumination compensation, scaling parameters) applied to motion vectors to indicate how much OBDC will be used. The weighting can be variable based on the semantics of the motion vectors. For example, similar motion vectors can have similar weights and dissimilar motion vectors can have dissimilar weights.

In some system embodiments, disparity estimation (e.g., motion estimation, intra prediction search, illumination parameter search, etc), disparity compensation, and mode decision can be employed in a system in the context of OBDC. In other embodiments, OBDC can be used for parallelization of the encoding and decoding processes. In some embodiments, less blockiness may exist between block (e.g., macroblock) boundaries, and transform and coding processes can be independent of regions that have yet to be coded. In other embodiments, various types of prediction and OBDC techniques can be employed for providing a level of coding quality with low system resources. For example, the OBDC techniques can be employed with internal and/or external OBDC prediction, OBDC with various block (e.g., macroblock) sizing and rasterizing directions, and OBDC with various modes. The OBDC employed may or may not be block-based OBDC embodiments. In some embodiments, the OBDC techniques may involve a combination of OBDC and non-OBDC prediction.

Video compression systems and standards (e.g., ISO MPEG-1, MPEG-2, MPEG-4, MPEG-4 AVC/ITU-T H.264, H.261, H.263, and VC-1) may rely on intra and inter coding in order to achieve compression. In intra coding, spatial prediction methods can be used. Scalable systems (e.g., cross-layer prediction) and multi-view (e.g., 3D) systems (e.g., cross-view prediction) may be similar to inter view prediction systems. OBDC can be used with any of these types of systems, and OBDC partitions from other layers or views can be predicted or reused with any of these systems in various embodiments.

In inter coding, compression can be achieved by exploiting the temporal correlation that may exist between pictures. More specifically, previously coded pictures can be used as prediction references for future pictures and motion and/or illumination change estimation and compensation can be employed to determine and compensate for similarities between these pictures. Any residual information can then be encoded given a certain bit rate constraint using transform and quantization based techniques (e.g., by making use of the discrete cosine transform (DCT), variants thereof such as the modified DCT (mDCT), other Fourier-like transforms, or wavelets). In this disclosure and for the sake of generality, any type of change that may occur from one or more pictures to another (e.g., local or global translational, affine or any other type of motion, illumination or focus changes, etc.) can be referred to as “disparity” In some systems (e.g., H.264 or VC-1), the decoding process can also consider a post-processing/de-blocking operation that attempts to alleviate the discontinuities that might have been introduced between adjacent partitions due to motion estimation inaccuracies around boundaries and/or due to the quantization process.

For some applications, scalable (e.g., the Scalable Video Coding (SVC) extension to AVC), or multi-view video coding solutions (e.g., Multi-view video coding extension of AVC) also may be required. Such systems may use similar prediction methods and inter coding methods. These systems may add as references information from previously decoded images that correspond to either previous lower quality or resolution references (e.g., cross-layer prediction), or different views (e.g., cross-view prediction). These references may have been optionally preprocessed (e.g., filtered, upscaled, or affine transform projected) prior to usage as predictions. In some of these environments, disparity information from a previously coded view could be reutilized or used to predict the disparity information (e.g., modes, reference indices, motion information, etc.) for the currently encoded image.

There are several techniques that may address motion estimation in video. Some motion estimation techniques involve “matching” methods, such as block matching techniques. For these matching methods, the constraints on a smoothness of the motion field can be imposed by the enforcement of a parametric model for the motion over some region, which can be a block or rectangular region in block matching techniques or, more generally, arbitrarily shaped regions or segments of the images.

Block Motion Compensation (BMC) refers to a technique that is used for inter coding and exploits the temporal correlation that may exist between adjacent frames. The technique considers motion parameters, including illumination change parameters, to predict a block or region from previously encoded information. In some encoding systems, the quality of this block can be further enhanced by encoding the residual (error) of the prediction process utilizing transform coding techniques, such as wavelets or the discrete cosine transform, followed by quantization and entropy coding. BMC (and OBDC described below) can be used, for example, for filtering operations or other operations where encoding of the residual is not performed. In some standards and codecs, blocks can be of different sizes and may not be usually overlapped.

For example, FIG. 1 depicts a diagram of an example of block motion compensation without OBDC. In particular, FIG. 1 depicts a diagram 100 for block motion compensation that uses non-overlapping prediction with different block sizes 105. Some of the blocks 110 in the diagram 100 are a first size, while other blocks 120 are a second, different block size. In the example depicted in FIG. 1, the blocks 110 and 120 do not overlap.

Blocks may also be aligned with the transform grid, even though in many cases the transform may be of a smaller size than the prediction block. In other techniques, however, referred to as overlapped block motion or disparity compensation techniques (OBMC or OBDC), overlapping blocks can be used. In OBDC, an image can be separated in several overlapping blocks. Each block can be associated with disparity parameters, such as motion vectors, which are used for the prediction of the respective block. Given that a block may overlap with multiple other blocks, a pixel in such an overlapping region can have multiple predictors that can be combined in a multi-hypothesis manner to generate a final prediction.

FIG. 2 depicts a diagram of an example video encoder 200 in which OBDC can be used. The encoder 200 may be an encoder for advanced video coding standard (AVC), otherwise referred to as H.264. In encoder 200, the input video 202 is sent to an adder 216 that sums the input video frame 202 with an output of a disparity compensation (e.g., motion/illumination change compensation and/or intra-prediction) component 260. The output from the adder 216 is coupled to a transform component 204, followed by a quantization component 206. The output of the quantization component 206 is coupled to a variable length coding (VLC) component 208 and an inverse quantization component 210. The bit stream 220 results from the VLC component 208 and information about the encoding process, such as the number of bits required to encode a block, region, or image, and the distortion introduced by such decision, are sent to the loop filter 266 and other components.

The disparity compensation component 260 can generate the prediction signal given information/decisions from the disparity estimation component 262. Disparity compensation, for example, can be in the form of intra prediction, e.g., making use of samples for prediction from previously encoded regions within the current picture, motion compensated prediction including considerations for illumination changes, and can also consider OBDC techniques for motion compensation. The disparity estimation component 262 can perform tasks that may include: (a) determine the appropriate prediction parameters such as inter prediction modes/partitions, motion vectors, illumination change parameters, and/or intra prediction modes, (b) selectively enable and disable motion-compensation block-sizes; (c) use certain pictures as motion-compensation references; (d) adjust the motion estimation search range and the number of iterations in joint bi-predictive motion estimation, (e) limit the number of coding modes to be tested given some predefined conditions or information about the image, among others. Disparity estimation could be done given knowledge that the video will be encoded using OBDC methods, e.g., the estimation method can consider search techniques that try to optimize performance given the prediction technique that is to be used. The loop filter component 266 can perform tasks that may include: (a) adjust the parameters of the in-loop deblocking filter; (b) switch-off the deblocking filter, among others.

The inverse transform component 212 receives an input from the inverse quantization component 210 and sends an output to an adder 226. The adder 226 receives the signal from the inverse transform component 212 and the disparity compensation component 260, and sends a summed signal to a loop filter 266. A picture reference store 264 receives an input from the loop filter 266, and sends an output to the disparity compensation component 260 and the disparity estimation component 262. The disparity estimation component 262 also receives an input from a rate control component (not shown). The loop filter 266 also receives an input from the rate control component. The input video 202 is also sent to an input of the disparity compensation component 260 and the disparity estimation component 262.

FIG. 3 depicts a diagram of an example video decoder 300. The decoder 300 may be a decoder that includes functionality similar to the H.264/MPEG-4 AVC standard. The decoder 300 receives the bit stream 220, and decodes the bit stream using an entropy (variable length) decoder 305, one or multiple inverse quantizers 330, one or multiple inverse transforms 335, and a disparity compensator 310. The entropy decoder 305 may extract both header information, including disparity information such as modes, motion vectors, illumination change parameters, intra prediction modes, among others, and quantized and transformed residual data. Disparity compensation, and more specifically prediction of the signal, is performed given the header information in 310, while the residual data are first de-quantized using the inverse quantizer 330 and then inverse transformed using the inverse transform 335. An adder 355 adds the output of the inverse transform 355 and the disparity compensator 310, and sends the summed result to a loop filter 325. The output of the loop filter 325 is coupled to a reference picture buffer 320, which can be used for storing pictures for reference and delivering an output 350. Prediction in the disparity compensation block 310 could utilize OBDC techniques.

FIGS. 4A-4C depict some example patterns that can be used for OBDC or overlapped partition disparity compensation pattern. FIG. 4A is a diagram 410 of an example diamond-shaped OBDC or overlapped partition disparity compensation pattern. FIG. 4B is a diagram 440 of an example orthogonal-shaped (e.g., square-shaped) OBDC or overlapped partition disparity compensation pattern. FIG. 4C is a diagram 470 of an example circular-shaped OBDC or overlapped partition disparity compensation pattern. As depicted in FIGS. 4A-C, OBDC techniques can allow prediction blocks or regions to overlap, which results in several pixels being predicted simultaneously by multiple disparity parameters, e.g., motion vectors. OBDC can improve the prediction of block boundaries.

In some embodiments, these multiple predictions can be, for example, weighted averages based on the distance of a pixel, for which hypotheses weights are to be derived, which are compared to a center of one or more neighboring blocks that corresponds to each prediction. In other embodiments, the distance may be between two motion vectors (e.g., |mv1−mv2|). This process can predict block boundaries, reduce residual effects, achieve efficient coding, and reduce blockiness that may occur at prediction boundaries.

FIG. 4B depicts the least complex of the patterns. For example, a center region 445 of the diagram 440 of the square pattern of FIG. 4B is defined by W×H. The block size of the diagram 440 is (2h+H)×(2w+W). The overlapped regions can be regions W×h 450, 455, H×w 460, 465, and w×h 470, 475, 480, 485. These regions 450, 455, 460, 465, 470, 475, 480, 485 can be overlapped with other patterns.

FIG. 5 depicts example predicted block regions in a diagram 500 in which different regions are predicted using multi-hypothesis based motion compensation (e.g., by employing overlapped block motion compensation, including the usage of bi-predictive motion compensation). In some embodiments, for example, overlapped block disparity/motion compensation can be seen as an instance of multi-hypothesis motion compensation, in which a pixel may be predicted using multiple hypotheses. Prediction blocks or regions in this coding structure are allowed to overlap, which results in several pixels being predicted simultaneously by multiple motion vectors. For example, assuming single list prediction, region 514 can utilize four predictions, while regions 516 or 518 can utilize two predictions given the vectors of overlapping blocks. These multiple predictions may be, for example, weighted averages based on the distance of a pixel, for which hypotheses weights are to be derived, which are compared to a center of one or more neighboring blocks that corresponds to each prediction, or for the distance between two motion vectors. An extension to bi-predictive motion compensation (e.g., B coded pictures or B slices) and multi-hypothesis motion compensation using multiple references can also be considered with the above methods.

In FIG. 5, for instance, block X 510 is depicted, and its neighboring blocks are blocks A-H 515-560. Each block is of size W×H and the overlapping happens on each direction with a width of w and a height of h. The pixels in region P₀ 514 of the diagram 500 are predicted using the motion vectors from blocks A 515, B 520, D 530, and X 510, while pixels in region P₁ 516 are predicted using the motion vectors from blocks B 520 and X 510 only. Furthermore, the weighting considered for each pixel within each region can relate to the distance of that pixel from the center of each OBDC block that is used for its prediction. For example, in the case of pixel y₀ 533 in FIG. 5, which belongs to region P₃ 518, its value can be predicted as:

value_(y) ₀ =w(dist_(y) ₀ _(,D))×MCPvalue{right arrow over ((MV_(D)))}+w(dist_(y) ₀ _(,X))×MCPvalue{right arrow over ((MV_(X)))}  Eq. (1)

where dist_(y) ₀ _(,D) and dist_(y) ₀ _(,X) are the distances of y₀ 533 from the centers of block D 530 and X 510, {right arrow over (MV_(D))} and {right arrow over (MV_(X))} are the motion and weighting parameter vectors for blocks D 530 and X 510, and MCPValue( ) and w( ) are the values of the motion compensation process and the weighting for the prediction, respectively. This expression can be generalized to:

$\begin{matrix} {{{value}_{y_{0}} = {\sum\limits_{k}\; {{w_{k}\left( {dist}_{y_{0},{block}_{k}} \right)} \times {{{MCPv}{alue}}\left( \overset{\;}{\overset{\rightarrow}{{MV}_{{block}_{k}}}} \right)}}}},} & {{Eq}.\mspace{14mu} (2)} \end{matrix}$

where k corresponds to the index of all blocks in the neighborhood of block X 510, including X 510. Generally, regions P₀-P₇ in FIG. 5 can be predicted using multi-hypothesis based motion compensation with motion vectors signaled for block X 510 and all its neighbors.

In some embodiments, weighting (e.g., scaling parameters, illumination compensation) may be applied to the prediction samples of each hypothesis given the values of the motion vectors (or other parametric motion estimate values) of each hypothesis to indicate how much and if OBDC should be used. The weighting can be adapted based on semantics associated with the motion vectors, or the disparity compensation parameters, e.g., apart from motion vectors, illumination parameters, reference indices, intra prediction modes, etc. For example, similar motion vectors may have similar weights and dissimilar motion vectors may have dissimilar weights. The availability of a predictor, especially in the case that the neighbor is of a different type (e.g., a single or multiple list that is inter predicted or an intra predicted block) can also affect the weighting parameters.

Square, orthogonal, or similarly-configured regions are used in the MPEG-4 video coding standard (and others), in part perhaps for their simplicity. In some OBDC embodiments, for example, some types of OBDC methods can require, for best performance, that all overlapping predictions be jointly optimized at the encoder. Some OBDC embodiments may require information for blocks with predictions in all directions. For the encoder to first synthesize the entire prediction or all dependent prediction regions prior to creating and coding, (e.g. use of transform, quantization and entropy coding, the residual signals) the information from the neighboring blocks may need to be already available before creating the prediction in some embodiments. The consideration of rate distortion optimized techniques for motion estimation and mode decision may require multiple iterations or computations considering the dependencies of adjoining blocks. Hence, the encoder may have to be configured to handle these type of computations.

Similarly, at the decoder, some techniques may be non-causal and may require that predictions from all overlapping partitions are available before reconstructing a certain sample. This non-causality may be considered in the performance for some architectures due to data dependencies, memory requirements and related operations. More specifically, the prediction signal may first be generated, stored in a temporary memory, and wait until the residual signal is available for final reconstruction. Alternatively, a decoder may wait for all information to be available before performing any operations.

FIG. 6 depicts a diagram 600 of an example OBDC embodiment that uses overlapping areas in all directions. The blocks can be generally referred to as transform blocks 610. The blocks 610 are separated by a transform grid 620, and each of the blocks can have an overlapping area 630 with adjacent blocks. In the embodiment of FIG. 6, the residual for a certain block (e.g., X 645) is computed based on information from all blocks (e.g., A-H 635-640) that provide prediction information for this region. In some embodiments, described below, the computation of the residual can be constrained in one or two directions. In other example embodiments, prediction can be extended in three or more dimensions (e.g., three-dimensional prediction).

For example, in some embodiments, assuming a raster scanning order (e.g., left-right & top-bottom), regions on the left and/or above are considered for performing OBDC (e.g., FIG. 7A-FIG. 7C). This process can move the residual generation process from the center of the motion compensated block to its top-left corner. This causality may allow the residual to be immediately computed without requiring any knowledge for any future blocks, which may promote optimization. For example, Rate Distortion Optimization techniques, such as Lagrangian optimization, may be used. Moreover, entropy decoding, motion compensation, and generation of the residual samples may execute in parallel, which may use memory or generate samples efficiently.

FIGS. 7A-7C depict diagrams of patterns for examples of overlapped partition motion compensation. The diagrams 710, 740, 770 of FIG. 7A-FIG. 7C respectively depict example patterns for OBDC or overlapped partition disparity compensation using a causal overlapping area (and assuming a raster scanning order). FIG. 7A depicts a diagram 710 for an example diamond pattern, in which the process extends to the right and bottom of the pattern. FIG. 7B depicts a diagram 740 for an example block/square pattern, in which the process extends to the right and bottom of the pattern. FIG. 7C depicts a diagram 770 for an example circular pattern, in which the process extends to the right and bottom of the pattern. In each of the diagrams 710, 740, 770, regions on the left and above are considered for performing OBDC.

The diagrams of FIG. 8A-FIG. 8B depict OBDC with different OBDC patterns. For example, the diagram of FIG. 8A depicts an example clipped diamond pattern 810. The diagram of FIG. 8B depicts an example block pattern 850. A block may be extended using either method from size W×H, where W represents the width and H represents the height of the block by w pixels horizontally and h pixels vertically on the right and bottom directions. These extensions can correspond to the overlapping areas with future blocks. In a coding system, for the original block of size W×H, motion compensation may be performed, and the residual information generated, given the motion information derived for that block, along with the motion information derived from its neighboring partitions that overlap with this region. The residual may then be transform coded, quantized, and entropy encoded. The residual can be decoded without requiring information from future blocks within the image. For example, samples in the region P₀ 854, P₁ 858, P₂ 856, and P₃ 852 within FIG. 8B can be predicted as:

value_(yεP) ₀ =w(dist_(yεP) ₀ _(,A))×MCPvalue{right arrow over ((MV_(A)))}+w(dist_(yεP) ₀ _(,B))×MCPvalue{right arrow over ((MV_(B)))}+w(dist_(yεP) ₀ _(,D))×MCPvalue{right arrow over ((MV_(D)))}+w(dist_(yεP) ₀ _(,X))×MCPvalue{right arrow over ((MV_(X)))}  Eq. (2)

value_(yεP) ₁ =w(dist_(yεP) ₁ _(,B))×MCPvalue{right arrow over ((MV_(B)))}+w(dist_(yεP) ₁ _(,X))×MCPvalue{right arrow over ((MV_(X)))}  Eq. (3)

value_(yεP) ₂ =w(dist_(yεP) ₂ _(,B))×MCPvalue{right arrow over ((MV_(B)))}+w(dist_(yεP) ₂ _(,C))×MCPvalue{right arrow over ((MV_(C)))}+w(dist_(yεP) ₀ _(,X))×MCPvalue{right arrow over ((MV_(X)))}  Eq. (4)

value_(yεP) ₃ =w(dist_(yεP) ₃ _(,A))×MCPvalue{right arrow over ((MV_(A)))}+w(dist_(yεP) ₃ _(,X))×MCPvalue{right arrow over ((MV_(X)))}  Eq. (5)

The prediction of regions P₄ 860, P₅ 862, P₆ 864, and P₇ 866 is constructed after the motion for the adjacent regions has been derived. The predictions of regions P₀ 854, P₁ 858, P₃ 852, and other areas from X 870, apart from P₂ 856, P₄ 860, P₅ 862, P₆ 864, and P₇ 866, which utilize, in the case of single list prediction, a single motion vector {right arrow over ((MV_(X)))}, are considered in generating the residual error for the current block. This concept can be extended for bi-prediction, with two motion vectors for each partition (e.g., as used in B coded pictures), and multi-hypothesis prediction.

FIG. 9 depicts a diagram of an example OBDC embodiment that uses causal overlapping areas. FIG. 9 depicts an example that can obviate dependencies on “future” or neighboring blocks. For example, overlapping is considered on the left and top boundaries of the blocks. The lighter areas (as depicted) are predicted with one sample. The darker areas (e.g., the overlapped areas) have predictions from two or four samples.

Some embodiments may support intra coding, including intra prediction. For instance, the pixels of a block can be predicted using a variety of techniques that consider already available and reconstructed samples from neighboring regions. As an example, a block can be predicted using the first column samples from the left neighbor block (horizontal prediction), the samples of the last row of the above neighbor block (vertical prediction), or using various combinations of such samples. After prediction, the residual signal can be computed, transformed, quantized, and entropy encoded. For each block, a signal can be provided that defines the intra prediction method that is to be used for the current block.

In some embodiments, a block can be coded without using a transform. If transform coding is skipped for a block (e.g., for a skipped block or for a block that no transformed residuals are present) then it may be deemed as being transform coded (or may be fully represented for reconstruction purposes). In these aspects, transformed residuals are present for the one or more neighboring blocks for which the presence of a transformed residual is signaled in the bit stream. In some embodiments, the transform may be linked with the residual information, and if no residual information is present, then no transform may be involved.

Employing a similar technique as described above for inter prediction, some embodiments may use overlapped block disparity compensation for predicting intra regions, as described for example with reference to FIG. 10A-FIG. 10C.

FIG. 10A depicts a diagram 1010 of intra prediction with overlapping considerations using horizontal prediction. FIG. 10B depicts a diagram 1040 of intra prediction with overlapping considerations using vertical prediction. FIG. 10C depicts a diagram 1070 of intra prediction with overlapping considerations using diagonal prediction. In FIGS. 10A-C, the prediction modes can differ for each of the figures, and OBDC can be used with spatial boundaries.

For example, in FIG. 10B, a block of size (W+w)×(H+h) is predicted using a predefined intra prediction mechanism, e.g., Pred_(A). After prediction, the residual of the upper left region of size W×H is computed, transformed and its coefficients quantized. The inverse process is applied to this information to generate the reconstructed residual, which is then added to the prediction of the upper left region. Then, the next region of size (W+w)×(H+h) is predicted, e.g., Pred_(B). However, the prediction of the first w×(H+h) pixels is also affected and possibly enhanced by the original prediction of its left neighbor. More specifically, the final prediction of these samples can be generated by considering (e.g., via using weighted averaging =>Pred_(Final)=w_(A)×Pred_(A)+w_(B)×Pred_(B)) the predictions utilized from previously coded and adjacent partitions, and the prediction as dictated by the coding mode of this block.

In some embodiments, the prediction direction of the neighboring partitions are considered independent of the prediction samples utilized for these partitions. Using these directions, multiple predictions for overlapping regions can be generated. The multiple predictions can be combined with the region signaled for the macroblock to generate the final prediction.

For instance, assume that for a block X, its top-left neighboring block uses DC prediction, the neighboring blocks above and above to the right of block X uses vertical prediction, and the neighboring block on the right of block X uses horizontal prediction, while X signals vertical prediction. In this example, the prediction samples can be generated by combining the prediction samples generated by each one of these directions separately and then averaging them together. Averaging could be done using equal weights, while we may also average the samples by giving a significant weight (W_(x)) to samples predicted directly from X compared to the weights for all other prediction samples. In some embodiments, W_(x)=4×W_(neighbor) where W_(neighbor) represent the weights for the neighbors. This process is a multi-hypothesis intra prediction method with low signaling overhead. Intra and inter predictions could also be combined using OBDC techniques. For example, some pixels within a block can be predicted using both inter and intra mechanisms, depending on the prediction method used for the neighboring partitions.

In some embodiments, overlapping and non-overlapping prediction blocks can be used within the same picture. A prediction block can be signaled as overlapping or non-overlapping within the bit stream through the addition of a signal element, or the prediction block can be derived through semantics or relationships with other blocks in the bit stream. For example, whether a prediction block uses overlapped prediction or not may be determined by associating the block with a reference index that points to a reference picture that is associated with OBDC coding. For some modes, which do not transmit any parameters (e.g., the SKIP or DIRECT modes supported in the H.264/AVC standard), a determination can be made on whether OBDC is used based on the neighboring partitions. For example, if all (or substantially all or most) partitions use OBDC, then OBDC could also be utilized by the current partition. Otherwise, normal prediction can be used.

In some embodiments, if neighbors in a given direction, or if neighbors on a side or above (or below) utilize OBDC, then OBDC is also used for the current block.

FIG. 11 depicts a diagram 1100 of an example of adaptively utilizing OBDC within a picture. For example, FIG. 11 depicts a mixed embodiment that has the above described causal variation of OBDC used for other blocks, overlapping prediction blocks without prediction propagation, and blocks that do not consider OBDC. The different types of techniques depicted in FIG. 11 can provide various ways to handle block boundaries. For example, OBDC may be used for blocks with small differences between neighboring blocks. OBDC may thus be used for blocks that differ slightly from their neighbors, and other techniques used for blocks where larger differences between the block boundaries exist. This situation can occur, for example, if there is a boundary between two objects in the image and there is a large difference in the block boundary. In this example situation, OBDC may be deterred or disabled for those block boundaries. In some embodiments, OBDC prediction could also be disabled or constrained on boundaries between partitions that use different prediction types. For example, if the current block is using bi-prediction but one of its neighbors is using a single list prediction, then OBDC may be only considered for the common list prediction. If the blocks use different lists, then OBDC may not be considered.

Some blocks in FIG. 11 can have internal overlapping of regions and external overlapping with regions. Internal overlapping can involve performing OBDC within a macroblock and using the block partitioning of that macroblock. External overlapping with OBDC can involve using the block partitioning of neighboring macroblocks. In some embodiments, internal overlapping can involve one prediction, and external overlapping can involve multiple predictions. FIG. 11 has transform blocks 1120 and overlapping OBDC blocks 1130. In some embodiments, the OBDC blocks 1130 may extend OBDC towards the right and bottom of the respective block. FIG. 11 also has overlapping prediction blocks 1140 with no prediction propagation. These overlapping prediction blocks 1140 can utilize prediction samples from neighboring blocks, and may not extend prediction to future blocks. Some blocks may not have OBDC (e.g., blocks with no OBDC for internal or external pixels, and no OBDC for future pixels).

In some embodiments, a restriction may be applied on how overlapping is used. For example, a block coding mode may be signaled for a block according to which overlapping can be performed using information, such as motion vectors (MVs) and illumination parameters, from previously coded adjacent partitions. The block coding may be signaled independently of the information of the current partition. OBDC prediction may also be independent of information from other partitions (e.g., Block A in FIG. 11).

In some embodiments, another type of OBDC block mode can signal that OBDC is not considered internally within the current block (e.g., Block B in FIG. 11), and that previously coded partitions do not provide prediction information for the current block regardless of their coding mode. This type of OBDC block mode may be allowed to utilize prediction information from the current block for other, not yet coded neighboring blocks. In FIG. 11, an additional coding mode can be introduced in the same context, which deters, if signaled, consideration of OBDC processing for prediction (e.g., Block C in FIG. 11). Selectively using OBDC on fewer than all blocks may conserve computational resources and promote efficiency.

FIGS. 12A-D depict example OBDC embodiments with variable prediction block sizes. FIG. 12A depicts OBDC for external and internal block edges. FIG. 12B depicts OBDC for external block edges. FIG. 12C depicts OBDC used where a block's neighbor can include an overlapping mode block. FIG. 12D depicts OBDC for overlapping mode blocks. Some of these variable blocks, for example, can have a block size equal to 4×4 pixels, 8×8 pixels, or 16×16 pixels.

In the blocks of FIG. 12A-FIG. 12D, the region of overlapping can also vary based on the block size, or the region could remain the same from block to block. Where the region does not change from block to block, additional control may be obviated. In some embodiments, OBDC may be used at macroblock boundaries to reduce complexity, for example, as depicted with diagram 1225 of FIG. 12B. In some other embodiments, OBDC-based prediction may not occur with previously-encoded neighbors that have been predicted using partition modes of a certain size (e.g., smaller than 16×16 as in FIG. 12C), or certain prediction modes (e.g., intra prediction). In other embodiments, OBDC may not be used where a current block itself is of a particular prediction mode, e.g., not 16×16 (FIG. 12D).

Although raster-scan encoding may be commonly considered in many video coding systems, different coding orders can also be considered for a variety of reasons, such as for coding efficiency, error resiliency, etc. The proposed OBDC scheme can be extended to support these cases by applying overlapped prediction for blocks that have not yet been transform coded. For example, block (or region) N can be predicted using OBDC by utilizing prediction from these N−1 blocks (or regions). The prediction for block (or region) N can be conducted by considering which blocks (or regions) within this N−1 block (or region) set are neighboring blocks (or regions) to block (or region) N. Also, block (or region) N can provide prediction information for all its surrounding blocks (or regions) that have not yet been coded. In some embodiments, for example, there can be prediction using OBDC with N−1 blocks (or regions) that may follow a fixed coding order (e.g., raster scan, spiral, zig-zag, etc.) or an arbitrary coding order.

FIG. 13 depicts an example OBDC embodiment with a spiral-based macroblock coding order. FIG. 13 depicts transform blocks 1320, a transform grid 1330, prediction blocks 1340, and overlapping areas 1350. For the first block 1305 OBDC can be considered in all directions around this block. For a second block 1310, which is located on the right of the first block 1305, OBDC is considered for the not yet encoded regions on the right, top, and bottom. Similarly for a third block 1315, OBDC prediction is extended to the not yet encoded regions on the right, left, and bottom.

FIG. 14 depicts an example OBDC embodiment with a random macroblock coding order. For example, FIG. 14 depicts transform blocks 1420, a transform grid 1430, prediction blocks 1440, and overlapping areas 1450. FIG. 14 depicts a random coding order where the OBDC prediction is considered for regions not yet encoded. In such scenarios, the shape and size of the prediction block can be dynamic. The OBDC shape can be fixed, e.g., a rectangle or similar configuration, or can be variable depending on whether a neighboring block has or has not been encoded.

FIGS. 15A-B depict diagrams 1500, 1550 with examples where the shape of the OBDC prediction is dependent upon regions that have been previously encoded. In FIG. 15A, the previously coded regions 1520 are to the upper left of the block 1540. In FIG. 15B, the previously coded regions 1570 are to the top and upper left of the block 1590. In some embodiments, the OBDC shape can vary depending on the encoding of a neighboring block.

In some embodiments, the size and shape of the OBDC block, and the weighting applied to the different predictions can be based on the disparity compensation parameters (e.g., motion vectors, reference indices or the temporal distance or some other relationship between these references, or/and illumination parameters) of adjacent partitions. For example, OBDC block characteristics and weighting may be computed according to equation (3), below

$\begin{matrix} {{{value}_{y_{0}} = {\sum\limits_{k}\; {{w_{k}\left( {dist}_{y_{0},{block}_{k}} \right)} \times {f_{k}\left( {\overset{\;}{\overset{\rightarrow}{{MV}_{{block}_{k}}}},\overset{\rightarrow}{{MV}_{X}}} \right)} \times {{{MCPv}{alue}}\left( \overset{\rightarrow}{{MV}_{{block}_{k}}} \right)}}}},} & {{Eq}.\mspace{14mu} (3)} \end{matrix}$

where functions ƒ_(k)({right arrow over (MV_(block) _(k) )},{right arrow over (MV_(X))}) depend on the motion and weighting parameter relationships between X and its neighboring blocks.

For example, a significant difference in the motion vectors of block X and block with k_(index 0) may imply that block X and the block with k_(index 0) differ significantly as well. Moreover, a significant difference in the motion vectors of two or more blocks may imply a significant probability that the respective motion vectors of each block may relate to (e.g., be based on) different objects or other image features. This may imply that the usefulness of OBDC, under these constraints, may be somewhat limited. In some embodiments, the function ƒ₀({right arrow over (MV_(block) ₀ )},{right arrow over (MV_(X))})=0 may be used. Where the motion vectors are significantly (e.g., substantially) similar, e.g., where the difference between motion vectors is below a threshold, T: ∥{right arrow over (MV_(block) ₀ )}−{right arrow over (MV_(X))}∥<T, the prediction from block₀ can be considered to have greater significance and the weighting of block₀ can be correspondingly increased. In some embodiments, these relationships and related weighting parameters could be pre-defined within the encoder and decoder. In some embodiments, these relationships and weighting parameters could be signaled and changed within the bit stream through, for example, defining and signaling new parameters in the sequence or picture parameter sets, or through the slice header of a video codec.

FIG. 16 depicts a flow chart with an example process 1600 for prediction using causal overlapping. The example process 1600 depicted in the flow chart involves receiving or accessing a bit stream of video information (1610). The process 1600 involves determining whether OBDC is allowed or signaled in a video bit stream (1620), and/or determining if OBDC is also allowed or signaled for blocks that neighbor a block in the bit stream (1630). If OBDC is allowed or signaled in the bit stream and the neighboring blocks, prediction can be performed for a block in the bit stream that utilizes OBDC for one or more regions of the block's edges that neighbors previously pre-coded blocks (1640). Further, if OBDC is allowed for the block in the bit stream (1625), information (e.g., motion vector information) from the block is used to provide an initial prediction of uncoded regions (1650).

OBDC can be allowed or signaled for the block and/or for the neighboring blocks based on, for example, one or more of the various OBDC allowance or signaling techniques (e.g., signaling via a signaling element in the bit stream, signaling via semantics or relations with other blocks in the bit stream, signaling via a reference index pointing to a reference picture, allowing/enabling OBDC when blocks are pre-coded, etc.) described within this disclosure. The flow chart of FIG. 16 can also be used with various coding orders (e.g., spiral, vertical, horizontal, arbitrary, raster scan, zig-zag, etc.) and/or other prediction techniques (e.g., inter prediction, intra prediction, prediction using multi-hypotheses, prediction with various amounts and types of dependencies on neighboring blocks, prediction with various types of overlapping, prediction with various types of propagation, prediction with various types of block sizes and block boundaries, etc.), as described within this disclosure. Some techniques can be used with the flow chart of FIG. 16 to causally perform overlapped disparity compensation as a function of the disparity compensation parameters, e.g., motion vectors, illumination change parameters among others, to provide motion and texture information to the bit stream.

The concepts of OBDC can also be utilized within codecs that support functionalities such as scalability or multi-view functionality. In these environments, apart from inter and intra prediction mechanisms, prediction can also be a cross-layer type prediction (e.g., prediction coming from a previously-decoded lower-quality or resolution version of the current image), or a cross-view type prediction (e.g., prediction coming from a previously-decoded image belonging to a different view). These predictions may have been previously modified before being used as predictions to correct for different errors or known disparities. Modifications of these predictions may include filtering, interpolation/scaling, and/or affine projection. OBDC could also be used when predicting from such references, while the conditions of utilizing OBDC or not utilizing OBDC for each block can be modified according to the characteristics of these references. For example, the weighting parameters for OBDC can be increased in a scalable video coding system for a prediction coming from a previous, lower-quality version of the same reference, or, for the multi-view video coding case, from a view that is closer in space than another view. Furthermore, it is also possible to consider sharing disparity compensation parameters between layers or views. For example, if a layer or view utilized OBMD, a higher layer or different view can copy, without signaling, the same OBMD parameters for its own prediction.

In one or more of the example embodiments disclosed herein, there can be a system, method, or a computer program product in which the intra coding and/or intra prediction includes any combination of vertical prediction, horizontal prediction, or diagonal prediction, and may employ template matching, a frequency domain method, and/or a spatial displacement method, among others. The inter prediction may include bi-predictive inter prediction and/or multi-hypothesis inter prediction. The macroblocks can have various shapes and patterns, such as an orthogonal pattern, a rectangular pattern, a square pattern, a diamond pattern, a circular pattern, and/or polygons with N number of edges. The prediction can also include a mesh-based prediction, in which the mesh-based prediction may have triangular shapes.

FIG. 17 depicts an example system model. The disclosed techniques can be used on one or more computers 1705A, 1705B. One or more methods and/or algorithms and/or processes herein can be implemented with, or employed in computers and/or video display 1720, transmission, processing, and playback systems. The computers described herein may be any kind of computer, either general purpose, or some specific purpose computer such as a workstation. The computer 1705B may be, e.g., an Intel or AMD based computer, running Windows XP, Vista, or Linux, or may be a Macintosh computer. In some embodiments, the computer can also be, e.g., a handheld computer, such as a PDA 1715, cell phone 1715, or laptop 1705A. The computer may also refer to machines or parts of a machine for image recording or reception 1725, 1730, 1735, processing, storage 1740, and distribution of data, in particular video data.

Computer and/or graphic programs may be written in C or Python, or Java, Brew or any other programming language. The programs may be resident on a storage medium, e.g., magnetic or optical, e.g. the computer hard drive, a removable disk or media such as a memory stick or SD media, wired or wireless network based or Bluetooth based Network Attached Storage (NAS), Storage Area Network (SAN), or other removable medium. The programs may also be run over a network 1750, for example, with a server or other machine sending communications to the local machine, which allows the local machine to carry out the operations described herein.

Although only a few embodiments have been disclosed in detail above, other embodiments are possible and the inventor(s) intend these to be encompassed within this specification. The specification describes specific examples to accomplish a more general goal that may be accomplished in another way. This disclosure is intended to be exemplary, and the claims are intended to cover any modification or alternative which might be predictable to a person having ordinary skill in the art.

Embodiments of the subject matter and the functional operations described in this specification can be implemented in digital electronic circuitry, or in computer software, firmware, or hardware, including the structures disclosed in this specification and their structural equivalents, or in combinations of one or more of them. Embodiments of the subject matter described in this specification can be implemented as one or more computer program products, e.g., one or more modules of computer program instructions encoded on a computer readable medium for execution by, or to control the operation of, data processing apparatus. The computer readable medium can be a machine-readable storage device 1740, a machine-readable storage substrate, a memory device, a composition of matter effecting a machine-readable propagated, processed communication, or a combination of one or more of them. The term “data processing apparatus” encompasses all apparatus, devices, and machines for processing data, including by way of example a programmable processor, a computer, or multiple processors or computers. The apparatus can include, in addition to hardware, code that creates an execution environment for the computer program in question, e.g., code that constitutes processor firmware, a protocol stack, a graphical system, a database management system, an operating system, or a combination of one or more of them.

A computer program (also known as a program, software, software application, script, or code) can be written in any form of programming language, including compiled or interpreted languages, and it can be deployed in any form, including as a stand alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A computer program does not necessarily correspond to a file in a file system. A program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub programs, or portions of code). A computer program can be deployed to be executed on one computer or on multiple computers that are located at one site or distributed across multiple sites and interconnected by a communication network.

The processes and logic flows and figures described and depicted in this specification can be performed by one or more programmable processors executing one or more computer programs to perform functions by operating on input data and generating output. The processes and logic flows can also be performed by, and apparatus can also be implemented as, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or another programmable logic device (PLD) such as a microcontroller or an ASIC (application specific integrated circuit).

Processors suitable for the execution of a computer program include, by way of example, both general and special purpose microprocessors, and any one or more processors of any kind of digital computer. Generally, a processor can receive instructions and data from a read only memory or a random access memory or both. The essential elements of a computer are a processor for performing instructions and one or more memory devices for storing instructions and data. Generally, a computer can also include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto optical disks, or optical disks. However, a computer need not have such devices. Moreover, a computer can be embedded in another device, e.g., a mobile telephone, a personal digital assistant (PDA), a mobile audio player, a Global Positioning System (GPS) receiver, to name just a few. Computer readable media suitable for storing computer program instructions and data include all forms of non volatile memory, media and memory devices, including by way of example semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices; magnetic disks, e.g., internal hard disks or removable disks; magneto optical disks; and CD ROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.

To provide for interaction with a user, some embodiments of the subject matter described in this specification can be implemented on a computer having a display device, e.g., a CRT (cathode ray tube), LCD (liquid crystal display), or plasma display monitor 1720, for displaying information to the user and a keyboard and a selector, e.g., a pointing device, a mouse, or a trackball, by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback, e.g., visual feedback, auditory feedback, or tactile feedback; and input from the user can be received in any form, including acoustic, speech, or tactile input.

Some embodiments of the subject matter described in this specification can be implemented in a computing system that includes a back end component, e.g., as a data server, or that includes a middleware component, e.g., an application server, or that includes a front end component, e.g., a client computer having a graphical user interface or a Web browser through which a user can interact with an embodiment of the subject matter described is this specification, or any combination of one or more such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication, e.g., a communication network. Examples of communication networks include a local area network (“LAN”) and a wide area network (“WAN”), e.g., the Internet.

The computing system can include clients and servers. A client and server can be remote from each other and interact through a communication network. The relationship of client and server can arise by virtue of computer programs running on the respective computers and having a client-server relationship to each other.

While this disclosure contains many specifics, these should not be construed as limitations on the scope of the invention or of what may be claimed, but rather as descriptions of features specific to particular embodiments of the invention. Certain features that are described in this specification in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination. Moreover, although features may be described above as acting in certain combinations and even initially claimed as such, one or more features from a claimed combination can in some cases be excised from the combination, and the claimed combination may be directed to a subcombination or variation of a subcombination.

Similarly, while operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order depicted or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing may be advantageous. Moreover, the separation of various system components in the embodiments described above should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software or hardware product or packaged into multiple software or hardware products.

The term “algorithm” can refer to steps, methods, processes, schemes, procedures, operations, programs, guidelines, techniques, sequences, and/or a set of rules or instructions to achieve the results described herein. For example, an algorithm can be a set of video processing instructions for a hardware and/or software video processor. The disclosed algorithms can be related to video and can be generated, implemented, associated, and/or employed in video-related systems and/or any devices, machines, and/or articles of manufacture for the processing, compression, storage, transmission, reception, testing, calibration, display, and/or any improvement, in any combination, for video data.

An embodiment of the present invention may relate to one or more of the examples enumerated below.

1. A method for motion compensation of images with overlapped block disparity compensation (OBDC), the method comprising the steps of:

determining if OBDC is enabled in a video bit stream;

determining if OBDC is enabled for one or more macroblocks that neighbor a first macroblock within the video bit stream, wherein the one or more neighboring macroblocks are transform coded; and

if OBDC is enabled in the video bit stream and for the one or more neighboring macroblocks, performing prediction for a region of the first macroblock that has an edge adjacent with the one or more neighboring macroblocks.

2. The method of enumerated example embodiment 1, wherein the step of determining if OBDC is enabled for the video bit stream or the one or more macroblocks comprises any combination of the steps of: detecting a signaling instruction within the bit stream or the one or more macroblocks to enable OBDC; determining a semantic or relationship in the bit stream or the one or more macroblocks to enable OBDC; determining neighboring block information or differences in motion vectors to enable OBDC; or detecting an association of the one or more macroblocks with a reference index that points to a reference picture that is associated with OBDC coding. 3. The method of enumerated example embodiment 1, further comprising the step of applying a coding order. 4. The method of enumerated example embodiment 3, wherein the step of applying the coding order comprises utilizing a raster scan coding order, a horizontal coding order, a vertical coding order, an arbitrary coding order, or a zig-zag coding order. 5. The method of enumerated example embodiment 1, further comprising the step of applying another type of prediction to the OBDC prediction. 6. The method of enumerated example embodiment 4, wherein the other type of prediction comprises inter prediction, intra prediction, cross-layer prediction, cross-view prediction, prediction using multi-hypothesis, or prediction with dependencies for the one or more neighboring macroblocks. 7. The method of enumerated example embodiment 4, wherein the other type of prediction further comprises prediction with a type of overlapping, prediction with a type of propagation, prediction that is independent of information of future macroblocks, or prediction with a plurality of macroblock sizes or macroblock boundaries. 8. The method of enumerated example embodiment 4, wherein the type of overlapping comprises internal overlapping of the region of the first macroblock or external overlapping of the region of the first macroblock, wherein the internal overlapping of the region comprises overlapping the region using information from one or more pixels of the first macroblock, and the external overlapping of the region comprises overlapping the region using information from pixels of one or more regions of the one or more neighboring macroblocks. 9. The method of enumerated example embodiment 4, wherein the prediction with a type of propagation comprises prediction with propagation in a pre-determined direction. 10. The method of enumerated example embodiment 1, wherein the macroblocks form a rectangular pattern, a square pattern, a diamond pattern, or a circular pattern, and wherein the prediction extends in one or two directions for the pattern. 11. The method of enumerated example embodiment 1, wherein the macroblocks form an orthogonal pattern, or polygons with N number of edges. 12. The method of enumerated example embodiment 1, wherein the prediction comprises a mesh-based prediction, wherein the mesh-based prediction comprises triangular shapes. 13. The method of enumerated example embodiment 1, wherein the prediction extends in at least three dimensions. 14. The method of enumerated example embodiment 1, further comprising the steps of:

generating residual information from the prediction, the residual information including information for the first macroblock and the one or more neighboring macroblocks, wherein the residual information comprises motion information;

transform coding the residual information;

quantizing the transform coded residual information; and

entropy encoding the quantized information.

15. The method of enumerated example embodiment 7, further comprising the step of decoding the residual, wherein the step of decoding is independent of information from future macroblocks in an image of the video bit stream. 16. The method of enumerated example embodiment 8, wherein any of the predictions comprises one or more operations from filtering, interpolation, scaling, or affine projection. 17. The method of enumerated example embodiment 1, further comprising sharing one or more disparity compensation parameters or modes amongst one or more views or layers. 18. The method of enumerated example embodiment 1, further comprising copying one or more disparity compensation parameters or modes amongst one or more views or layers. 19. The method of enumerated example embodiment 1, further comprising the step of using information for the prediction of the region of the first macroblock to perform prediction for one or more regions of another neighboring macroblock, where the other neighboring macroblock is non-transform coded. 20. The method of enumerated example embodiment 1, wherein the step of performing the prediction comprises applying OBDC to a subset of directions that are available for prediction for the first macroblock. 21. The method of enumerated example embodiment 1, wherein transformed residuals are present for the one or more neighboring macroblocks for which a presence of a transformed residual is signaled in the video bit stream. 22. A method for motion compensation of images with overlapped block disparity compensation (OBDC), the method comprising the steps of:

determining if OBDC is enabled in a video bit stream;

determining if OBDC is enabled for a first macroblock within the video bit stream, wherein the first macroblock is transform coded, and wherein the first macroblock is adjacent to one or more neighboring macroblocks; and

if OBDC is enabled in the video bit stream and for the first macroblock, performing prediction for a region of the one or more neighboring macroblocks using information from the first macroblock, wherein the region comprises a non-transform coded region.

23. The method of enumerated example embodiment 22, wherein the information comprises motion vector information, texture information, or information associated with a pixel. 24. The method of enumerated example embodiment 22, wherein the step of determining if OBDC is enabled for the video bit stream or the first macroblock comprises one or more steps comprising: detecting a signaling instruction within the bit stream or the first macroblock to enable OBDC; determining a semantic or relationship in the bit stream or the first macroblock to enable OBDC; determining neighboring block information or differences in motion vectors to enable OBDC; or detecting an association of the first macroblock with a reference index that points to a reference picture that is associated with OBDC coding. 25. A method for disparity compensation of images with overlapped block disparity compensation (OBDC), the method comprising the steps of:

determining if OBDC is enabled in a bit stream of video information;

determining a first region of a first macroblock within the bit stream; and

determining whether one or more residual regions in one or two macroblocks that are transform coded and adjacent to the first macroblock are enabled for overlapping prediction;

if the bit stream is enabled for OBDC and the one or more residual regions are enabled for overlapping prediction,

-   -   predicting pixels in the first region of the first macroblock         using motion vectors from only the one or more residual regions         in the one or two adjacent macroblocks; and     -   weighting the pixels in the first region as a function of a         distance of the pixels from an area of the one or two adjacent         macroblocks.         26. The method of enumerated example embodiment 25, wherein the         prediction for the pixels comprises a causal prediction.         27. The method of enumerated example embodiment 26, wherein the         weighting comprises a weighted average that is based on the         distance.         28. The method of enumerated example embodiment 25, wherein the         OBDC comprises computing a residual of the first macroblock that         is independent of information from future macroblocks.         29. The method of enumerated example embodiment 25, wherein the         first region is neighboring a first boundary of the first         macroblock.         30. The method of enumerated example embodiment 25, wherein the         overlapped motion compensation is computed independent of         information from a future or adjacent macroblock.         31. The method of enumerated example embodiment 25, wherein the         predicting step comprises intra coding or intra prediction.         32. The method of enumerated example embodiment 25, wherein the         intra coding or intra prediction comprises one or more of         vertical prediction, horizontal prediction, or diagonal         prediction.         33. The method of enumerated example embodiment 25, wherein the         intra coding or inter prediction comprises template matching, a         frequency domain method, or a spatial displacement method.         34. The method of enumerated example embodiment 25, wherein the         inter prediction comprises bi-predictive or multi-hypothesis         inter prediction.         35. The method of enumerated example embodiment 25, wherein the         predicting step comprises a combination of intra coding and         inter prediction.         36. The method of enumerated example embodiment 25, further         comprising signaling the one or more adjacent macroblocks with         one or more of flags or semantics.         37. The method of enumerated example embodiment 25, wherein the         prediction involves performing intra prediction and inter         prediction.         38. The method of enumerated example embodiment 25, further         comprising:

predicting pixels in one or more other regions; and

combining the prediction of the first region with the prediction for the one or more regions, wherein the prediction comprises a coding mode for the macroblocks, wherein the coding mode comprises an arbitrary coding mode, a spiral coding mode, a random coding mode, a horizontal coding mode, a vertical coding mode, or a diagonal coding mode.

39. The method of enumerated example embodiment 25, further comprising combining one or more other types of predictions to the first region. 40. The method of enumerated example embodiment 25, wherein the macroblock comprises a block partition with a size that is different from a block partition size of a partition in at least one of the adjacent macroblocks. 41. The method of enumerated example embodiment 25, further comprising predicting information for other regions within a picture, the other regions comprising overlapping macroblock regions and non-overlapping macroblocks regions. 42. The method of enumerated example embodiment 25, wherein one or more of the macroblocks comprise transformed residuals for which a presence of at least one of the transformed residuals is signaled in the video bit stream. 43. The method of enumerated example embodiment 25, the method further comprises:

combining the prediction with another type of prediction from one of the adjacent macroblocks, wherein the other type of prediction comprises prediction using multi-hypotheses, or prediction with a plurality of block sizes or macroblock partition types; and

applying weighting to the other type of prediction.

44. A computer program product, encoded on a computer-readable medium, comprising instructions to cause data processing apparatus to perform operations for overlapped block disparity estimation and compensation (OBDC) for images, the operations comprising:

for a plurality of macroblocks, performing OBDC prediction for at least a first subset of macroblocks by overlapping less than all block boundaries for the macroblocks in the at least first subset such that the OBDC prediction for the at least first subset is causal.

45. The computer program product of enumerated example embodiment 44, the operations further comprising:

performing OBDC prediction for a second subset of macroblocks that involves overlapping by overlapping all block boundaries for the macroblocks in the second subset; and

combining the OBDC prediction for the at least first subset with the OBDC prediction for the second subset.

46. The computer program product of enumerated example embodiment 44, the operations further comprising:

performing a type of motion prediction for a second subset of macroblocks that differs from the OBDC prediction of the macroblocks in the at least first subset of macroblocks; and

combining the OBDC prediction for the at least first subset with the type of prediction for the second subset.

47. The computer program product of enumerated example embodiment 44, wherein the operations for the combining comprises:

applying a weighting parameter to the OBDC prediction for the at least first subset or the type of prediction for the second subset.

48. The computer program product of enumerated example embodiment 44, the operations further comprising:

applying weighting to the at least first subset of macroblocks using the OBDC prediction; and

applying a prediction mode to the OBDC prediction, wherein the prediction mode comprises an internal prediction, an external prediction, or a combination of internal and external OBDC prediction.

49. The computer program product of enumerated example embodiment 44, wherein the OBDC prediction comprises a coding mode for the at least first subset of macroblocks, wherein the coding mode comprises an arbitrary coding mode, a spiral coding mode a horizontal coding mode, a vertical coding mode, or a diagonal coding mode. 50. The computer program product of enumerated example embodiment 44, wherein the type of prediction for the second subset of macroblocks comprises intra prediction or inter prediction. 51. The computer program product of enumerated example embodiment, wherein the intra coding or intra prediction comprises one or more of vertical prediction, horizontal prediction, or diagonal prediction, template matching, a frequency domain method, or a spatial displacement method. 52. The computer program product of enumerated example embodiment 44, wherein the macroblocks form an orthogonal pattern, a rectangular pattern, a square pattern, a diamond pattern, a circular pattern, or polygons with a plurality of edges, and wherein the prediction extends in one or more dimensions. 53. The computer program product of enumerated example embodiment 44, wherein the prediction comprises a mesh-based prediction, wherein the mesh-based prediction comprises triangular shapes. 54. The computer program product of enumerated example embodiment 44 further comprising instructions associated with the OBDC prediction comprising computing a residual of the first macroblock that is independent of information from future macroblocks. 55. A system to perform motion estimation of images, the system comprising:

a display device to display image data;

a computer readable medium to store the image data and instructions for image data processing; and

a data processing device operable to process the instructions and image data, the instructions causing the device to perform overlapped block disparity estimation (OBDC) for images, the operations comprising:

-   -   for a plurality of macroblocks, performing OBDC prediction for         at least a first subset of macroblocks by overlapping less than         all block boundaries for the macroblocks in the at least first         subset such that the OBDC prediction for the at least first         subset is causal.         56. The system of enumerated example embodiment 55, wherein the         instructions further comprise:

performing a type of motion prediction for a second subset of macroblocks that differs from the OBDC prediction of the macroblocks of the at least first subset of macroblocks; and

combining the OBDC prediction for the at least first subset with the type of prediction for the second subset.

57. The system of enumerated example embodiment 55, wherein the combining comprises taking a weighted average of the OBDC prediction for the at least first subset and the type of prediction for the second subset of macroblocks. 58. The system of enumerated example embodiment 55, wherein the plurality of macroblocks comprise macroblocks of various sizes, or macroblocks with partitions having a plurality of shapes or sizes. 59. The system of enumerated example embodiment 55, wherein the OBDC prediction is signaled explicitly or via of semantics to indicate whether OBDC prediction is to be used for a macroblock in the at least first subset of macroblocks. 60. The system of enumerated example embodiment 55, wherein one or more of the macroblocks comprise transformed residuals for which a presence of at least one of the transformed residuals is signaled in the video bit stream. 61. A system for disparity estimation and disparity compensation for video, the system comprising:

a video encoder comprising one or more video encoder components for encoding that causally executes overlapped block disparity estimation and compensation (OBDC) to a subset of macroblocks in an image of a video bit stream, the one or more video encoder components comprising:

-   -   a disparity estimation component to determine one or more         prediction modes or prediction parameters; and     -   a disparity compensation component to utilize disparity         estimation component information to generate prediction         information utilizing causally-executed OBDC for the subset of         macroblocks; and

a video decoder comprising one or more components for decoding, the one or more video decoder components to execute entropy decoding, execute disparity compensation, and generate residual information utilizing the causally-executed OBDC.

62. The system of enumerated example embodiment 61, wherein the one or more video decoder components are arranged to execute the entropy decoding, execute the disparity compensation, and generate the residual information in parallel.

Particular example embodiments of the disclosure have thus been described; other embodiments are within the scope of the following claims and equivalents. 

1. (canceled)
 2. A non-transitory computer-readable medium for storing data representing a block motion compensated video bit stream written in the non-transitory computer-readable medium, the video bit stream comprising: (i) a first block partition having a prediction type of inter-prediction, (ii) a second block partition having a prediction type of inter-prediction, the second block partition being edge adjacent to the first block partition; (iii) a third block partition; and (iv) an explicit signal, the explicit signal indicating a mode for the first block partition, wherein a first mode identified by the explicit signal identifies the first block partition as being block motion compensated by motion vector information of the second block partition, and a second mode identified by the explicit signal identifies the first block partition as being block motion compensated by motion vector information of the third block partition without motion vector information of the second block partition.
 3. The non-transitory computer-readable medium of claim 2, wherein the first block partition and the second block partition are bi-predicted using multiple references.
 4. The non-transitory computer-readable medium of claim 2, wherein utilizing the motion vector information of the second block partition further comprises predicting one or more pixels of the first block using the motion vector information of the second block partition.
 5. The non-transitory computer-readable medium of claim 2, wherein the inter-prediction comprises bipredictive or multi-hypothesis inter-prediction.
 6. The non-transitory computer-readable medium of claim 2, wherein the explicit signal is header information that includes the mode for the first block.
 7. The non-transitory computer-readable medium of claim 2, wherein the second block partition is ordered before the first block partition in the video bit stream. 